home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / grafik / raytracing / rayshade-4.0.6.3 / man / avg4.man < prev    next >
Text File  |  1994-04-01  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. AVG4(1)                                                   AVG4(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        avg4 - Downfilter an image by simple averaging.
  9.  
  10. SSYYNNOOPPSSIISS
  11.        aavvgg44 [ --oo _o_u_t_f_i_l_e ] [ _i_n_f_i_l_e ]
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        _A_v_g_4  downfilters  an  RLE image into a resulting image of
  15.        1/4th the size, by simply averaging four pixel  values  in
  16.        the  input  image to produce a single pixel in the output.
  17.        If the original image does not contain an  alpha  channel,
  18.        avg4 creates one by counting the number of non-zero pixels
  19.        in each group of four input pixels and using the count  to
  20.        produce  a  coverage  value.  While the alpha channel pro­
  21.        duced this way is crude (only four levels of coverage)  it
  22.        is enough to make a noticeable improvement in the edges of
  23.        composited images.
  24.  
  25. OOPPTTIIOONNSS
  26.        _i_n_f_i_l_e The input will be read from this  file,  otherwise,
  27.               input will be taken from stdin.
  28.  
  29.        --oo _o_u_t_f_i_l_e
  30.               If  specified, output will be written to this file,
  31.               otherwise it will go to stdout.
  32.  
  33. SSEEEE AALLSSOO
  34.        _f_a_n_t(1), _r_l_e_c_o_m_p(1), _s_m_u_s_h(1), _u_r_t(1), _R_L_E(5).
  35.  
  36. AAUUTTHHOORR
  37.        Rod Bogart, John W. Peterson
  38.  
  39. BBUUGGSS
  40.        Very simple minded  -  more  elaborate  filters  could  be
  41.        implemented.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. 1                          Nov 12, 1986                         1
  65.  
  66.  
  67.